package cn.edu.ujn.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.ujn.common.annotation.Excel;
import cn.edu.ujn.common.core.domain.BaseEntity;

/**
 * 设备信息管理对象 f_facility
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class FFacility extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    @Excel(name = "设备id")
    private Long facilityId;

    /** 宿舍楼id */
    @Excel(name = "宿舍楼id")
    private Long buildingId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String facilityName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String facilityType;

    /** 设备楼层 */
    @Excel(name = "设备楼层")
    private Long facilityFloor;

    /** 状态 */
    @Excel(name = "状态")
    private Integer situation;

    /** 设备厂商电话 */
    @Excel(name = "设备厂商电话")
    private String facilityTele;

    /** 宿舍楼信息管理信息 */
    private List<FBuilding> fBuildingList;

    public void setFacilityId(Long facilityId) 
    {
        this.facilityId = facilityId;
    }

    public Long getFacilityId() 
    {
        return facilityId;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setFacilityName(String facilityName) 
    {
        this.facilityName = facilityName;
    }

    public String getFacilityName() 
    {
        return facilityName;
    }
    public void setFacilityType(String facilityType) 
    {
        this.facilityType = facilityType;
    }

    public String getFacilityType() 
    {
        return facilityType;
    }
    public void setFacilityFloor(Long facilityFloor) 
    {
        this.facilityFloor = facilityFloor;
    }

    public Long getFacilityFloor() 
    {
        return facilityFloor;
    }
    public void setSituation(Integer situation) 
    {
        this.situation = situation;
    }

    public Integer getSituation() 
    {
        return situation;
    }
    public void setFacilityTele(String facilityTele) 
    {
        this.facilityTele = facilityTele;
    }

    public String getFacilityTele() 
    {
        return facilityTele;
    }

    public List<FBuilding> getFBuildingList()
    {
        return fBuildingList;
    }

    public void setFBuildingList(List<FBuilding> fBuildingList)
    {
        this.fBuildingList = fBuildingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("facilityId", getFacilityId())
            .append("buildingId", getBuildingId())
            .append("facilityName", getFacilityName())
            .append("facilityType", getFacilityType())
            .append("facilityFloor", getFacilityFloor())
            .append("situation", getSituation())
            .append("facilityTele", getFacilityTele())
            .append("fBuildingList", getFBuildingList())
            .toString();
    }
}
